package com.WJY.service;

import com.WJY.entity.Student;
import java.util.List;

public interface StudentService {
    //查询所有
    List<Student> queryStudentList();

    //id查询
    Student queryStudentById(int id);

    //姓名查询
    List<Student> queryStudentByName(String name);

    //id删除
    int delStudent(int id);

    //新增
    int addStudent(Student student);

    //更新
    int updateStudent(Student student);
}
